#ifndef MODIFYLOGINPASSWORD_H
#define MODIFYLOGINPASSWORD_H

#include <QWidget>
class InquireSql;

enum LastClickModifyLoginPassword {lineEditOriginalPassword, lineEditNewPassword,
                lineEditConfirmLoginPassword};

namespace Ui {
class ModifyLoginPassword;
}

class ModifyLoginPassword : public QWidget
{
    Q_OBJECT
    
public:
    explicit ModifyLoginPassword(QWidget *parent = 0);
    ~ModifyLoginPassword();
    bool eventFilter(QObject *target, QEvent *event);

private slots:

    void on_pushButtonModify_clicked();

    void on_pushButtonCancel_clicked();
    
private:
    Ui::ModifyLoginPassword *ui;
    int m_lastClick;
    InquireSql *m_sql;
};

#endif // MODIFYLOGINPASSWORD_H
